package com.hr.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.hr.common.annotation.Excel;
import com.hr.common.core.domain.BaseEntity;

/**
 * 系统租户对象 sys_tenant
 * 
 * @author ruoyi
 * @date 2021-04-12
 */
public class SysTenant extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 租户id */
    private Long tenantId;

    /** 租户名称 */
    @Excel(name = "租户名称")
    private String tenantName;

    /** 租户英文简称 */
    @Excel(name = "租户英文简称")
    private String tenantEnIntroduction;

    /** 租户地址 */
    @Excel(name = "租户地址")
    private String tenantAddress;

    /** 租户简介 */
    @Excel(name = "租户简介")
    private String tenantIntroduction;

    /** 租赁开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "租赁开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date tenantBeginTime;

    /** 租赁结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "租赁结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date tenantEndTime;

    /** 租户状态（0：正常，1：冻结） */
    @Excel(name = "租户状态", readConverterExp = "0=：正常，1：冻结")
    private String tenantStatus;

    public String getTenantEnIntroduction() {
        return tenantEnIntroduction;
    }

    public void setTenantEnIntroduction(String tenantEnIntroduction) {
        this.tenantEnIntroduction = tenantEnIntroduction;
    }

    public void setTenantId(Long tenantId)
    {
        this.tenantId = tenantId;
    }

    public Long getTenantId() 
    {
        return tenantId;
    }
    public void setTenantName(String tenantName) 
    {
        this.tenantName = tenantName;
    }

    public String getTenantName() 
    {
        return tenantName;
    }
    public void setTenantAddress(String tenantAddress) 
    {
        this.tenantAddress = tenantAddress;
    }

    public String getTenantAddress() 
    {
        return tenantAddress;
    }
    public void setTenantIntroduction(String tenantIntroduction) 
    {
        this.tenantIntroduction = tenantIntroduction;
    }

    public String getTenantIntroduction() 
    {
        return tenantIntroduction;
    }
    public void setTenantBeginTime(Date tenantBeginTime) 
    {
        this.tenantBeginTime = tenantBeginTime;
    }

    public Date getTenantBeginTime() 
    {
        return tenantBeginTime;
    }
    public void setTenantEndTime(Date tenantEndTime) 
    {
        this.tenantEndTime = tenantEndTime;
    }

    public Date getTenantEndTime() 
    {
        return tenantEndTime;
    }
    public void setTenantStatus(String tenantStatus) 
    {
        this.tenantStatus = tenantStatus;
    }

    public String getTenantStatus() 
    {
        return tenantStatus;
    }

    @Override
    public String toString() {
        return "SysTenant{" +
                "tenantId=" + tenantId +
                ", tenantName='" + tenantName + '\'' +
                ", tenantEnIntroduction='" + tenantEnIntroduction + '\'' +
                ", tenantAddress='" + tenantAddress + '\'' +
                ", tenantIntroduction='" + tenantIntroduction + '\'' +
                ", tenantBeginTime=" + tenantBeginTime +
                ", tenantEndTime=" + tenantEndTime +
                ", tenantStatus='" + tenantStatus + '\'' +
                '}';
    }
}
